import * as mongoose from 'mongoose';
import config from 'src/config/config';
export const FocusSchema = new mongoose.Schema(
    {
        title: { type: String },
        type: { type: Number },
        focus_img: { type: String },
        link: { type: String },
        sort: { type: Number },
        status: { type: Number, default: 1 },
        link_type: { type: Number, default: 1 }, //1 路由 2外链
        route_type: { type: Number, default: 0 }, //0 无 1 push 2 replace
    },
    config.SchemaOptions,
);
